﻿<style>
    .weui-article {
        padding: 0px;
    }

        .weui-article * {
            text-align: center;
        }

        .weui-article section {
            margin-bottom: 0;
        }

        .weui-article p {
            margin-bottom: 0;
        }
</style>
<div class="page  js_show" ng-controller="RegisterCtrl">
    <article class="weui-article">
        <section>
            <p>
                <img ng-src="{{logoUrl}}" />
            </p>
        </section>
    </article>

    <div class="weui-cells__title">注册</div>
    <div class="weui-cells weui-cells_form">
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">昵称</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" placeholder="请输入昵称" ng-model="name" required>
            </div>
        </div>
        <div class="weui-cell weui-cell_vcode">
            <div class="weui-cell__hd">
                <label class="weui-label">手机号</label>
            </div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="tel" placeholder="请输入手机号" ng-model="tel" required ng-pattern="/^\d{11}$/">
            </div>
            <div class="weui-cell__ft">
                <button class="weui-vcode-btn" ng-click="getCode_click()"
                        ng-bind="description" ng-disabled="canClick">
                    获取验证码
                </button>
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">验证码</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" placeholder="验证码" ng-model="code" required ng-pattern="/^[0-9]*$/">
            </div>
        </div>
    </div>
    <div class="weui-btn-area">
        <a class="weui-btn weui-btn_primary" href="javascript:" ng-click="register_click()">注册</a>
    </div>
</div>